package com.yzd.learnjava.arrays;

import java.util.Arrays;

import com.yzd.learnjava.util.Print;

public class AssemblingMultidimensionalArrays {
	public static void main(String[] args) {
		Integer[][] a;
		a = new Integer[3][];
		for(int i = 0 ; i < a.length; i++) {
			a[i] = new Integer[3];
			for(int j = 0 ; j < a[i].length; j++) {
				a[i][j] = i * j;
			}
		}
		
		Print.print(Arrays.deepToString(a));
	}
}
